package com.ccbhelper.provider;

import java.util.Comparator;

public class MyComparator implements Comparator<SimpleInstInfo>{

	public int compare(SimpleInstInfo o1,SimpleInstInfo o2) {
	//	SimpleInstInfo p1=(SimpleInstInfo)o1;
	//	SimpleInstInfo p2=(SimpleInstInfo)o2;
	if(o1.getDistance()<o2.getDistance())
	return -1;
	else
	return 0;
	}
	}